Server Error in '/' Application (502 - Web server received an invalid response) post upgrade with ADFS configured
A server configured with ADFS will produce the following application error when the Triaster Server version is upgraded from any version prior to 17.2.608. The Library will not display in Browser.
Event Log Application Error Message:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 17/07/2018 12:44:51
Event time (UTC): 17/07/2018 12:44:51
Event ID: 5d35f17094cc4308871616a14d0116e3
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
- Application domain: /LM/W3SVC/1/ROOT-1771-131763050917346754
- Trust level: Full
- Application Virtual Path: /
- Application Path: C:\inetpub\wwwroot\
- Machine name: TRS-PRD-037-01
Process information:
- Process ID: 2392
- Process name: w3wp.exe
- Account name: AZURE\trsprd037_admin
Exception information:
- Exception type: ConfigurationErrorsException
-
Exception message:
Could not load file or assembly 'Triaster.Server.Membership, Version=17.2.563.0, Culture=neutral, PublicKeyToken=9500e73e681142c8' or one of its dependencies. The system cannot find the file specified.
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit)
at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
-
Could not load file or assembly 'Triaster.Server.Membership, Version=17.2.563.0, Culture=neutral, PublicKeyToken=9500e73e681142c8' or one of its dependencies. The system cannot find the file specified.
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
Request information:
- Request URL: http://127.0.0.1/
- Request path: /
- User host address: 10.106.3.4
- User:
- Authentication Type:
- Thread account name: AZURE\trsprd037_admin
Thread information:
- Thread ID: 14
- Thread account name: AZURE\trsprd037_admin
- Is impersonating: False
- Stack trace:
-
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit)
at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
To resolve this please take a copy of and open C:\inetpub\wwwroot\web.config in Notepad. Replace any instance of:
- Triaster.Server.Membership with Triaster.IdentityModel.Web
- Triaster.Server.Membership, Version=(oldversionnumber) with Triaster.IdentityModel.Web, Version=(newversionnumber)
Save and close the file before clearing the browser cache and refreshing the browser.
|